package demo;

class A {
    public int tmp=10;
}
class B extends A{

}
public class C extends B{
    public static void main(String[] args) {
        C c=new C();
        System.out.println(c.tmp);
    }
}